#include "Response.h"

Response::Response(/* args */)
{
}

Response::Response(int code, bool success, string message, string data)
{
    this->code=code;
    this->success=success;
    this->message=message;
    this->data=data;
}

Response::Response(int code, bool success, string message, FileContent *content)
{
    this->code=code;
    this->success=success;
    this->message=message;
    this->fileContent=content;
}

void Response::setCode(int code)
{
    this->code=code;
}

int Response::getCode()
{
    return this->code;
}

void Response::setSuccess(bool success)
{
    this->success=success;
}

bool Response::getSuccess()
{
    return this->success;
}

void Response::setMessage(string message)
{
    this->message=message;
}

string Response::getMessage()
{
    return this->message;
}

void Response::setData(string data)
{
    this->data=data;
}

string Response::getData()
{
    return this->data;
}

void Response::setFileContent(FileContent *content)
{
    this->fileContent=content;
}

FileContent *Response::getFileContent()
{
    return this->fileContent;
}

Response::~Response()
{
}

